Optimal. Leaf size=28 \[ -\frac {1}{a x}-\frac {b \log (x)}{a^2}+\frac {b \log (a+b x)}{a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1598, 46}
\begin {gather*} -\frac {b \log (x)}{a^2}+\frac {b \log (a+b x)}{a^2}-\frac {1}{a x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 1598
Rubi steps
\begin {align*} \int \frac {x}{a x^3+b x^4} \, dx &=\int \frac {1}{x^2 (a+b x)} \, dx\\ &=\int \left (\frac {1}{a x^2}-\frac {b}{a^2 x}+\frac {b^2}{a^2 (a+b x)}\right ) \, dx\\ &=-\frac {1}{a x}-\frac {b \log (x)}{a^2}+\frac {b \log (a+b x)}{a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 28, normalized size = 1.00 \begin {gather*} -\frac {1}{a x}-\frac {b \log (x)}{a^2}+\frac {b \log (a+b x)}{a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.35, size = 29, normalized size = 1.04
method | result | size |
default | \(-\frac {1}{a x}-\frac {b \ln \left (x \right )}{a^{2}}+\frac {b \ln \left (b x +a \right )}{a^{2}}\) | \(29\) |
norman | \(-\frac {1}{a x}-\frac {b \ln \left (x \right )}{a^{2}}+\frac {b \ln \left (b x +a \right )}{a^{2}}\) | \(29\) |
risch | \(-\frac {1}{a x}-\frac {b \ln \left (x \right )}{a^{2}}+\frac {b \ln \left (-b x -a \right )}{a^{2}}\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 28, normalized size = 1.00 \begin {gather*} \frac {b \log \left (b x + a\right )}{a^{2}} - \frac {b \log \left (x\right )}{a^{2}} - \frac {1}{a x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.57, size = 26, normalized size = 0.93 \begin {gather*} \frac {b x \log \left (b x + a\right ) - b x \log \left (x\right ) - a}{a^{2} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 19, normalized size = 0.68 \begin {gather*} - \frac {1}{a x} + \frac {b \left (- \log {\left (x \right )} + \log {\left (\frac {a}{b} + x \right )}\right )}{a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.50, size = 30, normalized size = 1.07 \begin {gather*} \frac {b \log \left ({\left | b x + a \right |}\right )}{a^{2}} - \frac {b \log \left ({\left | x \right |}\right )}{a^{2}} - \frac {1}{a x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.21, size = 25, normalized size = 0.89 \begin {gather*} \frac {2\,b\,\mathrm {atanh}\left (\frac {2\,b\,x}{a}+1\right )}{a^2}-\frac {1}{a\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________